package net.xdclass.request;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;

import java.util.Date;

/**
 * 添加地址请求
 *
 * @author JiangZhou
 * @date 2023/5/5 21:45
 */
@Data
public class AdressAddRequest {

    /**
     * 是否默认收货地址：0->否；1->是
     */
    @ApiModelProperty(value = "是否默认收货地址：0->否；1->是",example = "0")
    @JsonProperty("default_status")
    private Integer defaultStatus;

    /**
     * 收发货人姓名
     */
    @ApiModelProperty(value = "收发货人姓名",example = "jz")
    private String receiveName;

    /**
     * 收货人电话
     */
    @ApiModelProperty(value = "收货人电话",example = "13219557000")
    private String phone;

    /**
     * 省/直辖市
     */
    @ApiModelProperty(value = "省/直辖市",example = "四川")
    private String province;

    /**
     * 市
     */
    @ApiModelProperty(value = "市",example = "成都")
    private String city;

    /**
     * 区
     */
    @ApiModelProperty(value = "区",example = "金牛")
    private String region;

    /**
     * 详细地址
     */
    @ApiModelProperty(value = "详细地址",example = "啊啊啊啊啊啊啊")
    @JsonProperty("detail_address")
    private String detailAddress;
}
